package com.tencent.stat;

class av
  implements StatDispatchCallback
{
  public void onDispatchFailure()
  {
    aw.b().a(as.b(this.a), null, as.c(this.a), true);
    StatServiceImpl.d();
  }

  public void onDispatchSuccess()
  {
    StatServiceImpl.c();
    if (aw.b().a <= 0)
      return;
    StatServiceImpl.commitEvents(as.a(this.a), -1);
  }
}